<?php


namespace App\common\OutPay;


use App\Models\PayExchange\ExchangeListModel;

interface Inter
{
    /**
     * 手续费
     * @param int
     * @return int
     */
    public function fee(int $amount);

    /**
     * 提交代付
     * @param ExchangeListModel $order
     * @return bool
     */
    public function pay(ExchangeListModel $order);

    /**
     * 代付回调
     * @param array $params
     * @return bool
     */
    public function notify(array $params);
}